package com.example.blog.dao;

/**
 * Created by IntelliJ IDEA.
 *
 * @Author : LiuWenHao
 * @create 2023/2/25 19:25
 */
import com.example.blog.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;
@Mapper
public interface UserDao {
    @Select("select * from user where id = #{id}")
    List<User> getUserList(int id);
}
